package com.punai.externalccb.mapper;

import java.util.List;
import com.punai.common.core.mapper.CommonMapper;
import com.punai.externalccb.domain.DataToolFileversion;

/**
 * fileversionMapper接口
 *
 * @author tj
 * @date 2023-04-16
 */
public interface DataToolFileversionMapper extends CommonMapper<DataToolFileversion>
{
    /**
     * 查询fileversion
     *
     * @param id fileversion主键
     * @return fileversion
     */
    public DataToolFileversion selectDataToolFileversionById(String id);

    /**
     * 查询fileversion列表
     *
     * @param dataToolFileversion fileversion
     * @return fileversion集合
     */
    public List<DataToolFileversion> selectDataToolFileversionList(DataToolFileversion dataToolFileversion);


    /**
     * 删除fileversion
     *
     * @param id fileversion主键
     * @return 结果
     */
    public int deleteDataToolFileversionById(String id);

    /**
     * 批量删除fileversion
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDataToolFileversionByIds(String[] ids);

    public DataToolFileversion findByCodeAndType(DataToolFileversion dataToolFileversion);
}
